home *** CD-ROM | disk | FTP | other *** search
- CopyRect version 1.0 (C) SPETER SOFTWARE, March 1990.
-
- This program will copy part of a text screen to a file or the screen!
- The program was written in Borland's Turbo Pascal 5.5
-
- SYNTAX:
- -------
- 1: CopyRect
- 2: CopyRect page1 row1 column1 row2 column2 page2 row3 column3
- 3: CopyRect page1 row1 column1 row2 column2 out-file
- 4: CopyRect in-file page2 row3 column3
-
- NOTES:
- 1: Output (this) help screen!
- 2: Copy screen area (row1,column1)-(row2,column2) on screen (page1) to
- screen area (row3,column3) on screen (page2). When both screens
- are the same: make sure the rectangle starting from (row3,column3)
- does not overlap the original rectangle; if it does, then strange
- effects will result!
- 3: Copy screen area (row1,column1)-(row2,column2) on screen (page1) to
- the binary file (out-file).
- 4: Display CopyRect file (in-file) at (row3,column3) on screen (page2).
-
- pages are in the range [0..7] depending on the display type.
- rows are in the range [0..24]
- columns are in the range [0..79]
- out-file must be a valid DOS file-name
- in-file must be a valid DOS file-name
-
-
- EXAMPLES:
- CopyRect 0 0 0 24 79 1 0 0
- copy the whole of screen 0 (the default display screen) to screen 1
-
- CopyRect 1 0 0 24 79 1 0 0
- copy the screen 1 to screen 0 !
-
- CopyRect 0 10 0 14 79 store
- copy lines 10-14 (inclusive) in the file "store".
-
- CopyRect store 0 20 0
- display the file "store" starting at (20,0).
-
- CopyRect 0 10 12 18 29 0 0 40
- copy lines 10-18 between columns 12 & 29 to (0,40).
- when copying on the same screen make sure your rectangles don't overlap!
-
-
- SOURCE LISTING
- For a commented source listing of the program, send $50 to the address below.
-
- ==============================================================================
- Please address any comments to:
-
- SPETER Software
- P.O. BOX 643
- LANE COVE
- NSW 2066
- AUSTRALIA
- ==============================================================================
-
-